package karma.main;

import net.minecraft.src.EnumRarity;
import net.minecraft.src.Item;
import net.minecraft.src.ItemStack;
import net.minecraft.src.mod_KarmaCraft;

public class ItemBookOfLore extends Item
{
	public ItemBookOfLore(int i)
	{
		super(i);
		this.setMaxDamage(2);
		this.setMaxStackSize(1);
	}
	
	public EnumRarity getRarity(ItemStack itemstack)
	{
		return mod_KarmaCraft.ENCHANTED;
	}
	
	public boolean hasEffect(ItemStack itemstack)
	{
		return true;
	}
}
